package com.ax.business.common.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ax.business.common.domain.BaseOrg;

@Mapper
public interface BaseOrgMapper {
    int deleteByPrimaryKey(Long orgId);

    int insert(BaseOrg record);

    /**
	 * 组织机构新增(模块:组织机构)
	 * 
	 * @param BaseOrg baseOrg
	 *           
	 * @return SUCC
	 */
    int insertSelective(BaseOrg record);
    /**
	 * 组织机构查询(模块:组织机构)
	 * 
	 * @param Map<String,Object> map
	 *           
	 * @return BaseOrg baseOrg
	 */
    List<BaseOrg> selectByPrimaryKey(Map<String,Object> map);

	/**
	 * 组织机构修改(模块:组织机构)
	 * 
	 * @param BaseOrg baseOrg
	 *           
	 * @return SUCC
	 */
    int updateByPrimaryKeySelective(BaseOrg record);

    int updateByPrimaryKey(BaseOrg record);
}